home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 70 / Cine Live 70.iso / pc / Data / Interface / bonus2.k < prev    next >
Encoding:
Text File  |  2003-06-10  |  4.8 KB  |  220 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$0000016C,$0000005A,$0000023F,$000002CD,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$000000D3,$00000178,$0000032F,$00000267,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         oreportage_sommaire4,
  18.         oBox7,
  19.         oreportage_lancer5,
  20.         oVid_o6
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with Flags is $00000004; 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Flags is $00000004; Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o6; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Flags is $00000150; 
  64.     Name is "Music"; 
  65.     
  66.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  67.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  68.     Looping is true; 
  69.     URL is "data/Sons/1.mp3"; URLOption is GetDiskURL; 
  70.     
  71. end;
  72.  
  73. object ofond3 is cImage
  74. with 
  75.     Name is "fond"; 
  76.     Enabled is false; 
  77.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  78.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  79.     
  80.     URL is "data/Images/bonus2.jpg"; URLOption is GetDiskURL; 
  81.     
  82.     
  83. end;
  84.  
  85. object oreportage_sommaire4 is cImage
  86. with 
  87.     Flags is $00000150; 
  88.     Name is "reportage sommaire"; 
  89.     Shown is false; Cursor is oFingerCursor; 
  90.     X is 629; Y is 573; 
  91.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  92.     
  93.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  94.     
  95.     
  96.     Events is [
  97.         cMouseEnterEvent
  98.         with Flags is $00000004; 
  99.             Commands is [
  100.                 cShowCommand
  101.                 with Flags is $00000004; Target is oTargetSelf; end
  102.             ];
  103.         end,
  104.         cMouseLeaveEvent
  105.         with Flags is $00000004; 
  106.             Commands is [
  107.                 cShowCommand
  108.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  109.             ];
  110.         end,
  111.         cMouseUpEvent
  112.         with Flags is $00000004; 
  113.             Commands is [
  114.                 cBrowseCommand
  115.                 with Flags is $00000004; URL is "data/Interface/sommaire.k"; URLOption is GetDiskURL; end
  116.             ];
  117.         end
  118.     ];
  119. end;
  120.  
  121. object oBox7 is cBox
  122. with 
  123.     Flags is $00008151; 
  124.     Name is "Box"; 
  125.     Region is {$FFFF000A,$00000000,$006A006A};
  126.     Cursor is oFingerCursor; 
  127.     X is 515; Y is 375; 
  128.     Width is 106; Height is 108; 
  129.     
  130.     
  131.     Events is [
  132.         cMouseUpEvent
  133.         with Flags is $00004004; Flag is true; 
  134.             Commands is [
  135.                 cBrowseCommand
  136.                 with Flags is $00004000; URL is "data/Interface/mcm.k"; URLOption is GetDiskURL; end
  137.             ];
  138.         end
  139.     ];
  140. end;
  141.  
  142. object oreportage_lancer5 is cImage
  143. with 
  144.     Flags is $00000150; 
  145.     Name is "reportage lancer"; 
  146.     Shown is false; Cursor is oFingerCursor; 
  147.     X is 475; Y is 573; 
  148.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  149.     
  150.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  151.     
  152.     
  153.     Events is [
  154.         cMouseEnterEvent
  155.         with Flags is $00000004; 
  156.             Commands is [
  157.                 cShowCommand
  158.                 with Flags is $00000004; Target is oTargetSelf; end
  159.             ];
  160.         end,
  161.         cMouseLeaveEvent
  162.         with Flags is $00000004; 
  163.             Commands is [
  164.                 cShowCommand
  165.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  166.             ];
  167.         end,
  168.         cMouseUpEvent
  169.         with Flags is $00000004; 
  170.             Commands is [
  171.                 cShowCommand
  172.                 with Flags is $00000004; Target is oVid_o6; end,
  173.                 cEnableCommand
  174.                 with Flags is $00000004; Target is oVid_o6; end,
  175.                 cRunCommand
  176.                 with Flags is $00000004; Target is oVid_o6; Rewind is true; end,
  177.                 cRunCommand
  178.                 with Flags is $00000004; Target is oMusic2; Mode is Clear; Rewind is true; end
  179.             ];
  180.         end
  181.     ];
  182. end;
  183.  
  184. object oVid_o6 is cMPEGMovie
  185. with 
  186.     Name is "Vid\$E9o"; 
  187.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  188.     
  189.     Width is 800; Height is 600; 
  190.     
  191.     URL is "data/Videos/bonus2.mpg"; URLOption is GetDiskURL; 
  192.     Events is [
  193.         cMouseUpEvent
  194.         with 
  195.             Commands is [
  196.                 cShowCommand
  197.                 with Target is oTargetSelf; Mode is Clear; end,
  198.                 cEnableCommand
  199.                 with Target is oTargetSelf; Mode is Clear; end,
  200.                 cRunCommand
  201.                 with Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  202.                 cRunCommand
  203.                 with Target is oMusic2; Rewind is true; end
  204.             ];
  205.         end,
  206.         cFinishedEvent
  207.         with 
  208.             Commands is [
  209.                 cShowCommand
  210.                 with Target is oTargetSelf; Mode is Clear; end,
  211.                 cEnableCommand
  212.                 with Target is oTargetSelf; Mode is Clear; end,
  213.                 cRunCommand
  214.                 with Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  215.                 cRunCommand
  216.                 with Target is oMusic2; Rewind is true; end
  217.             ];
  218.         end
  219.     ];
  220. end;